package ase.assignment.sts.action;

import java.io.IOException;
import javax.servlet.*;
import javax.servlet.http.*;

import ase.assignment.sts.utils.ActionConfig;

public class GenericAction{

	public void process(HttpServletRequest request, 
			HttpServletResponse response )
		throws ServletException, IOException{

	}

	public void forward(HttpServletRequest request, 
			HttpServletResponse response, 
			ServletContext context, 
			ActionConfig ac )
		throws ServletException, IOException{

		RequestDispatcher rd = context.getRequestDispatcher(ac.getForwardURL());
		rd.forward( request, response );
	}

}
